﻿using HelpDeskTool.Services;
using Microsoft.Extensions.DependencyInjection;

namespace HelpDeskTool.Extensions;

public static class Registrator
{
	public static IServiceCollection RegisterMyServices(this IServiceCollection services)
	{
		services
			.AddTransient<IDns, Dns>()
			.AddTransient<ILdap, Ldap>()
			.AddTransient<IWmi, Wmi>()
			.AddSingleton<IUpdater, Updater>();

		return services;
	}
}
